<?php

namespace Database\Seeders;

use App\Models\Link;
use Illuminate\Database\Seeder;

class LinkSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $configs = [
            ['name' => 'Filament', 'url' => 'https://filamentphp.com', 'sort' => 1],
            ['name' => 'ModStart', 'url' => 'https://modstart.com', 'sort' => 2],
            ['name' => 'Learnku', 'url' => 'https://learnku.com', 'sort' => 3],
        ];
        foreach ($configs as $config) {
            Link::factory()->create($config);
        }
    }
}
